$(function () {
    $("#user").mouseenter(function () {
        $("#user_dialog").css("display","block");
      });
      $("#user").mouseleave(function () {
        $("#user_dialog").css("display","none");
      });
      $("#user_dialog").mouseenter(function () {
        $(this).css("display","block");
      });
      $("#user_dialog").mouseleave(function () {
        $(this).css("display","none");
      });
  })